import defaultSettings from '@/settings'
import { getPlantformText } from '@/utils/config'

const plantform = getPlantformText()

const title = defaultSettings.title || '容猫医美'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${title}-${plantform}-${pageTitle}`
  }
  return `${title}-${plantform}`
}
